#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
    FILE* fd = fopen("bite", "w");
    if (fd == NULL)
    {
        perror("fopen");
        exit(1);
    }
    char* str = "linux so easy!\n";
    fwrite(str, 1, strlen(str), fd);
    fseek(fd, 9, SEEK_SET);
    char* str2 = "difficult!\n";
    fwrite(str2, 1, strlen(str2), fd);

    fclose(fd);

    return 0;
}